<template>
    <AppView :title="title" :menu-list="testMenuListData">
        <div slot="content">
            <router-view/>
        </div>
    </AppView>
</template>

<script>
    import AppView from "../../components/basic/AppView";
    import yunying from "../../assets/image/yunying.png";
    import yunying1 from "../../assets/image/yunying1.png";
    export default {
        name: "yyHome",
        components: {
            AppView
        },
        data:function () {
            return{
                title:"",
                testMenuListData:{
                    baseRoute:"yunying",
                    menuList:[
                        {
                            title:"体验金管理",
                            icon: yunying,
                            items:[
                                {
                                    route:"",
                                    text:"体验金配置",
                                    default:true
                                },
                                {
                                    route:"y2",
                                    text:"体验金记录",
                                },
                            ]
                        },
                        {
                            title: "红包管理",
                            icon: yunying1,
                            items: [
                                {
                                    route:"y3",
                                    text:"红包管理",
                                },
                                {
                                    route:"y4",
                                    text:"红包记录",
                                },
                            ]
                        },
                        {
                            title: "活动策略配置",
                            icon: yunying1,
                            items: [
                                {
                                    route:"y5",
                                    text:"新人活动策略",
                                },
                                {
                                    route:"y6",
                                    text:"邀请活动策略",
                                },
                            ]
                        }
                    ]
                }
            }
        }
    }
</script>

<style scoped>

</style>